package com.ywu.application.standard.menu.constant;

public enum MenuConstant {
    META_JSON_PARSE_ERROR("9300", "meta.json.parse.error", "meta字符串json解析失败"),
    META_JSON_ERROR("9301", "meta.json.error", "meta字符串json不符合要求title必填且值与中文一致"),
    ID_IS_NOT_EXIST_ERROR("9302", "meta.json.error", "meta字符串json不符合要求title必填且值与中文一致"),
    ROUTE_ROOT_PATH_EXIST_ERROR("9303", "route.root.path.exist", "文根已经存在"),
    ROUTE_ROOT_PATH_NOT_EXIST_ERROR("9304", "route.root.path.not.exist", "文根不存在")
    ;

    private String code;

    private String errorCode;

    private String message;

    MenuConstant(String code, String errorCode, String message) {
        this.code = code;
        this.errorCode = errorCode;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
